package com.ctshk.rpc.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 供应商
 * </p>
 *
 * @author 张志朋
 * @since 2021-02-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "t_sys_supplier",autoResultMap = true)
@ApiModel(value="SysSupplier对象", description="供应商")
public class SysSupplier extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    private String cnName;

    @ApiModelProperty(value = "英文名称")
    private String enName;

    @ApiModelProperty(value = "会计客户码")
    private String accountingCode;

    @ApiModelProperty(value = "城市")
    private String city;
    
    @ApiModelProperty(value = "城市id")
    private Long cityId;

    @ApiModelProperty(value = "供应商地址")
    private String location;

    @ApiModelProperty(value = "银行名称")
    private String bankName;

    @ApiModelProperty(value = "银行卡号")
    private String bankCard;

    @ApiModelProperty(value = "财务联系人")
    private String financeContactName;

    @ApiModelProperty(value = "财务联系电话")
    private String financeContactMobile;

    @ApiModelProperty(value = "财务邮箱")
    private String financeContactEmail;

    @ApiModelProperty(value = "营业执照")
    private String businessLicense;

    @ApiModelProperty(value = "合同")
    private String contractFile;

    @ApiModelProperty(value = "公司电话")
    private String companyTelephone;

    @ApiModelProperty(value = "是否使用系统")
    private Integer useSys;

    @ApiModelProperty(value = "所属系统 1 核心业务系统;2 供应商开放平台;3 代理商分销系统ADS;4 地接系统;5 商旅系统TMC")
    private Integer platformSysType;

    @ApiModelProperty(value = "财务系统编码")
    private String financeSysCode;

    @ApiModelProperty(value = "审批状态 1待提交;2 审批中;3审批不通过;4审批通过 ")
    private Integer checkStatus;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "账号状态 0无效 1有效  ")
    private Integer status;

}
